package com.liuyfly.datastructure.dto;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Node<T extends Comparable<T>> {
    private T value;

    private Node<T> next;

    public Node(T data) {
        this.value = data;
    }
}
